package cn.sciento.farm.devicemanager.dao.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;
/**
 * 虫情照片
 * @author Walton
 * @since 2020/9/7 14:29
 */
@Data
public class DevInsectImage extends Model<DevInsectImage> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    private String imageUrl;

    private Long insectId;

    private String tenantId;

    private Long createTime;

    @Override
    public String toString() {
        return "DevInsectImage{" +
                "id=" + id +
                ", imageUrl='" + imageUrl + '\'' +
                ", insectId=" + insectId +
                ", tenantId='" + tenantId + '\'' +
                ", createTime=" + createTime +
                '}';
    }
}
